package com.tbit.uqbike.client.pojo;

import java.util.Date;

/**
 * @Author: chen
 * @Description: 用户邀请信息
 * @Date: 创建于 14:26 2020/12/30
 */
public class UserInvitation {
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 邀请码
     */
    private String code;
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 活动id
     */
    private Integer eventId;
    /**
     * 添加时间
     */
    private Date addTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getAccountId() {
        return accountId;
    }

    public void setAccountId(Integer accountId) {
        this.accountId = accountId;
    }

    public Integer getEventId() {
        return eventId;
    }

    public void setEventId(Integer eventId) {
        this.eventId = eventId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @Override
    public String toString() {
        return "UserInvitation{" +
                "id=" + id +
                ", userId=" + userId +
                ", code='" + code + '\'' +
                ", accountId=" + accountId +
                ", eventId=" + eventId +
                '}';
    }
}
